package com.tianji.learning.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author 晴天 ☀️
 * @date 2024/8/28 11:12
 * @Email:1627233147@qq.com
 * @Class:
 */
@Data
@ApiModel(description = "用户端评论回答VO")
public class QuestionReplyVo {

      @ApiModelProperty(value = "问题ID", example = "123")
      private Long id;

      @ApiModelProperty(value = "回答的内容", example = "回答的内容")
      private String content;

      @ApiModelProperty(value = "是否匿名", example = "false")
      private boolean anonymity;

      @ApiModelProperty(value = "回答者ID", example = "123")
      private Long userId;

      @ApiModelProperty(value = "回答者昵称", example = "Jack")
      private String userName;

      @ApiModelProperty(value = "回答者头像", example = "1.jpg")
      private String userIcon;

      @ApiModelProperty(value = "回答时间", example = "2023-01-01 12:23:32")
      private LocalDateTime createTime;

      @ApiModelProperty(value = "被评论的用户昵称", example = "Rose")
      private String targetUserName;

      @ApiModelProperty(value = "回答下的评论数量", example = "5")
      private Integer replyTimes;

      @ApiModelProperty(value = "回答下的点赞数量", example = "2")
      private Integer likedTimes;
}
